﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PurchaseList.aspx.cs" Inherits="CampanyCMS.UI.Admin.ProductsManager.PurchaseList" %>

<%@ Register TagPrefix="uc1" TagName="UCProductType" Src="../UserControls/UCProductType.ascx" %>
<%@ Register Assembly="My97" Namespace="My97" TagPrefix="cc2" %>
<%@ Register TagPrefix="cc1" Namespace="COM.ZTE.TPG.App.UI.WebForm" Assembly="COM.ZTE.TPG.App.UI.WebForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>ProductsList</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">
</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td>
                <div class="div_subtitle">
                    当前位置：产品购买信息管理<span class="arrow_subtitle">&gt;</span>产品购买信息列表</div>
            </td>
        </tr>
    </table>
    <table id="tb_content" cellspacing="0" cellpadding="0" align="center">
        <tbody>
            <tr>
                <td>
                    <table class="tb_searchbar" cellspacing="1" width="100%">
                        <tbody>
                            <tr>
                                <td class="td_head" colspan="5">
                                    <img class="icon" height="13" src="../../img/search1.gif" width="13">
                                    请填写查询条件
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title" nowrap width="9%">
                                    产品
                                </td>
                                <td class="detail" width="24%">
                                    <span class="td_detail">
                                        <asp:DropDownList ID="drList" runat="server" Width="142px">
                                        </asp:DropDownList>
                                    </span>
                                </td>
                                <td class="td_title" nowrap width="12%">
                                    产品购买信息标题
                                </td>
                                <td class="td_detail" width="23%">
                                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style=" display:none">
                                <td class="td_title" nowrap width="15%">
                                    发布时间
                                </td>
                                <td class="td_detail" colspan="3">
                                    <cc2:datetextbox id="txtBeginDate" runat="server" imgpath="../../img/calendar.gif"
                                        width="120px" onpickclientid="txtEndDate"></cc2:datetextbox>
                                    至
                                    <cc2:datetextbox id="txtEndDate" runat="server" imgpath="../../img/calendar.gif"
                                        width="120px"></cc2:datetextbox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2"></td>
                                <td align="center" colspan="2">
                                    <asp:Button ID="btnSearch" runat="server" Text="查询" CssClass="Button" OnClick="btnSearch_Click">
                                    </asp:Button><font face="宋体">&nbsp;</font>
                                    <asp:Button ID="btnAdd" runat="server" Text="新增" CssClass="Button" OnClick="btnAdd_Click">
                                    </asp:Button><font face="宋体">&nbsp;</font>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <cc1:ZteGrid ID="dgNews" runat="server" CssClass="tb_datalist" PageChange="TextBox"
                        Width="100%" AllowPaging="True" PageLanguage="Chinese" IsAllowPaging="True" BorderWidth="0px"
                        CellSpacing="1" AutoGenerateColumns="False" CacheData="ServerCach" SortMode="Total"
                        PageCSS="scrollButton" OnItemCommand="dgNews_ItemCommand" OnItemDataBound="dgNews_ItemDataBound"
                        BorderStyle="Solid">
                        <AlternatingItemStyle CssClass="tr_even" BackColor="#F7F9FE"></AlternatingItemStyle>
                        <FooterStyle BackColor="#E8E8E8"></FooterStyle>
                        <ItemStyle BorderColor="White" BackColor="White"></ItemStyle>
                        <Columns>
                            <asp:BoundColumn Visible="False" DataField="Seqno" HeaderText="Seqno"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="IsFirst" HeaderText="IsFirst"></asp:BoundColumn>
                            <asp:BoundColumn DataField="title" HeaderText="产品购买信息名称"></asp:BoundColumn>
                            <asp:BoundColumn DataField="ProductID" HeaderText="产品"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Code" HeaderText="代码"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Level" HeaderText="显示顺序"></asp:BoundColumn>
                            <asp:BoundColumn DataField="CreateDate" HeaderText="发布时间"></asp:BoundColumn>
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    是否首页显示
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="btnIsFst" runat="server" CommandName="FPage">否</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    操作
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="btnModify" runat="server" CommandName="Modify">修改</asp:LinkButton>
                                    <font face="宋体">&nbsp;</font>
                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <HeaderStyle CssClass="tr_title" BackColor="LightGray"></HeaderStyle>
                        <SelectedItemStyle CssClass="tr_selected" BackColor="#D8D8D8"></SelectedItemStyle>
                        <PagerStyle CssClass="tr_pagenumber"></PagerStyle>
                    </cc1:ZteGrid>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
